import Vue from 'vue'
import App from './App.vue'
import router from './router'
import { registerMicroApps, start } from '../../small-qiankun/index';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.config.productionTip = false
Vue.use(ElementUI);
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')




registerMicroApps([
  {
    name: 'vueApp',
    entry: '//localhost:8081',
    container: '#container',
    activeRule: '/vue3-app/',
  },
  {
    name: 'reactApp',
    entry: '//localhost:8003',
    container: '#container',
    activeRule: '/react-app/',
  },
  {
    name: 'vue3TemplateApp',
    entry: '//localhost:8082',
    container: '#container',
    activeRule: '/vue3-app-tm/',
  },
]);
// start qiankun
start({
});